package cn.com.service;

import cn.com.domain.Customer;
import cn.com.domain.PageBean;

import java.util.List;

public interface CustomerService {
    public List<Customer> findAll();
    void addCustomer(Customer customer);
    void delteCustomer(Customer customer);
    void delteCustomerbyid(String id);
    void alterCustomerbyid(Customer customer,String id);
    /**
     * 分页查询
     * @param currentPage
     * @param rows
     * @return
     */
    PageBean<Customer> findcustomerByPage(String currentPage, String rows);
    Customer findcustomerByidentity_numandphone(String identity_num,String phone);



}
